﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Web
{
    /// <summary>
    /// 提交数据来自正文
    /// 注:使用该特性标记的参数类型,必须实现ISerialize接口
    /// </summary>
    //[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
    [AttributeUsage(AttributeTargets.Parameter)]
    public class FromBodyAttribute : Attribute
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public FromBodyAttribute()
        {

        }
    }
}
